package com.compass.mobile.ui.activity

import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.fragment.app.FragmentTransaction
import com.compass.mobile.R
import com.compass.mobile.databinding.ActivityHomePageBinding
import com.compass.mobile.framework.base.BaseVBActivity
import com.compass.mobile.ui.fragment.IndependentBillingFragment
import com.compass.mobile.ui.fragment.MyAppointmentFragment

/**
 * Description：自主开单
 * Date:2024/6/3 22:35
 */
class IndependentBillingActivity : BaseVBActivity<ActivityHomePageBinding>() {


    companion object {
        fun start(context: Context) {
            val intent = Intent(context, IndependentBillingActivity::class.java)
            context.startActivity(intent)
        }
    }

    override fun initView(savedInstanceState: Bundle?) {
        val fragmentTransaction: FragmentTransaction = supportFragmentManager.beginTransaction()
        fragmentTransaction.replace(R.id.fragmentContainer, IndependentBillingFragment())
        fragmentTransaction.commit()

    }
}